package com.qo.qsdk.model;

import java.util.HashMap;

public class InitModel {

    private int ico;
    private int cs;
    private String cs_s;
    private int rec;
    private String rec_s;
    private String terms_url;
    private String privacy_url;
    private String facebook_like_url;
    private String share_url;

    private int apple_login;
    private int google_login;
    private int facebook_login;
    private int guest_login;
    private HashMap<String, String> events;

    private HashMap<String, HashMap<String, String>> i18n;

    public HashMap<String, HashMap<String, String>> getI18n() {
        return i18n == null ? new HashMap<String, HashMap<String, String>>() : i18n;
    }

    public void setI18n(HashMap<String, HashMap<String, String>> i18n) {
        this.i18n = i18n;
    }

    public HashMap<String, String> getEvents() {
        return events == null ? new HashMap<String, String>() : events;
    }

    public void setEvents(HashMap<String, String> events) {
        this.events = events;
    }


    public String getShare_url() {
        return share_url == null ? "" : share_url;
    }

    public void setShare_url(String share_url) {
        this.share_url = share_url;
    }

    public boolean hasIco() {
        return ico >= 1;
    }

    public void setIco(int ico) {
        this.ico = ico;
    }

    public boolean hasCs() {
        return cs >= 1;
    }



    public void setCs(int cs) {
        this.cs = cs;
    }

    public String getCs_s() {
        return cs_s == null ? "" : cs_s;
    }

    public void setCs_s(String cs_s) {
        this.cs_s = cs_s;
    }

    public boolean hasRec() {
        return rec >= 1;
    }

    public void setRec(int rec) {
        this.rec = rec;
    }

    public String getRec_s() {
        return rec_s == null ? "" : rec_s;
    }

    public void setRec_s(String rec_s) {
        this.rec_s = rec_s;
    }

    public String getTerms_url() {
        return terms_url == null ? "" : terms_url;
    }

    public void setTerms_url(String terms_url) {
        this.terms_url = terms_url;
    }

    public String getPrivacy_url() {
        return privacy_url == null ? "" : privacy_url;
    }

    public void setPrivacy_url(String privacy_url) {
        this.privacy_url = privacy_url;
    }

    public String getFacebook_like_url() {
        return facebook_like_url == null ? "" : facebook_like_url;
    }

    public boolean hasFblike() {
        return getFacebook_like_url().length() > 0;
    }

    public void setFacebook_like_url(String facebook_like_url) {
        this.facebook_like_url = facebook_like_url;
    }

    public int getApple_login() {
        return apple_login;
    }

    public void setApple_login(int apple_login) {
        this.apple_login = apple_login;
    }

    public int getGoogle_login() {
        return google_login;
    }

    public void setGoogle_login(int google_login) {
        this.google_login = google_login;
    }

    public int getFacebook_login() {
        return facebook_login;
    }

    public void setFacebook_login(int facebook_login) {
        this.facebook_login = facebook_login;
    }

    public int getGuest_login() {
        return guest_login;
    }

    public void setGuest_login(int guest_login) {
        this.guest_login = guest_login;
    }


}
